export const doctorSuggestion = [
  '健身三要素：科学训练，合理饮食，适当休息。',
  '减重≠减肥，体重轻了可能是身体的肌肉、水分减少了，因此应该更注重体形和身体围度的变化。',
  '好的运动健身补剂不是蛋白粉，不是氨基酸，而是充足的睡眠与健康的饮食。',
  '日行一万步，吃动两平衡，健康一辈子。',
  '清晨起床，宜空腹饮白开水一杯，可补充水分，促进血液循环，恢复清醒状态。',
  '好身材的秘密：三分练，七分吃。',
  '科学的饮食结构：碳水55%，蛋白质25%，脂肪20%。',
];

// 社区中分享报告对应的值
export const report_type = {
  feed: 0, // 动态
  measure: 1, // 测量报告
  food_record: 2, // 饮食记录
  sport_heart_rate: 3, // 运动心率
  weight_prediction: 4, // 体重预测
  week: 5, // 周报
  band_sleep: 6, // 手环睡眠
  band_step: 7, // 手环步数
  heart_rate: 8, // 心率图表
  weight_target: 9, // 目标
  deep_report: 10, // 深度报告
  data_compare: 11, // 数据对比
  height_chart: 12, // 身高记录图表
  baby_height_prediction: 13, // 宝宝身高预测
};

export const deviceMaps = {
  all: 'all',
  scale: 'scale',
  food_scale: 'food_scale',
  height: 'height',
  wrist: 'wrist',
};

// 设备中英文对照
export const device_names = {
  all: '全部设备',
  scale: '体脂秤',
  food_scale: '厨房秤',
  height: '身高测量仪',
  wrist: '手环',
};

export const nutritionMaps = {
  energy: 'energy',
  protein: 'protein',
  fat: 'fat',
  saturated_fat: 'saturated_fat',
  fatty_acid: 'fatty_acid',
  mufa: 'mufa',
  pufa: 'pufa',
  cholesterol: 'cholesterol',
  carbohydrate: 'carbohydrate',
  sugar: 'sugar',
  fiber_dietary: 'fiber_dietary',
  Na: 'Na',
  vitamin_a: 'vitamin_a',
  vitamin_d: 'vitamin_d',
  vitamin_e: 'vitamin_e',
  vitamin_k: 'vitamin_k',
  thiamine: 'thiamine',
  lactoflavin: 'lactoflavin',
  vitamin_b6: 'vitamin_b6',
  vitamin_b12: 'vitamin_b12',
  vitamin_c: 'vitamin_c',
  niacin: 'niacin',
  folacin: 'folacin',
  pantothenic: 'pantothenic',
  biotin: 'biotin',
  choline: 'choline',
  P: 'P',
  K: 'K',
  Mg: 'Mg',
  Ca: 'Ca',
  Fe: 'Fe',
  Zn: 'Zn',
  I: 'I',
  Se: 'Se',
  Cu: 'Cu',
  F: 'F',
  Mn: 'Mn',
  carotene: 'carotene',
  alcohol: 'alcohol',
};

export const nutrition_key = {
  [nutritionMaps.energy]: '能量',
  [nutritionMaps.protein]: '蛋白质',
  [nutritionMaps.fat]: '脂肪',
  [nutritionMaps.saturated_fat]: '饱和脂肪',
  [nutritionMaps.fatty_acid]: '反式脂肪',
  [nutritionMaps.mufa]: '单不饱和脂肪',
  [nutritionMaps.pufa]: '多不饱和脂肪',
  [nutritionMaps.cholesterol]: '胆固醇',
  [nutritionMaps.carbohydrate]: '碳水化合物',
  [nutritionMaps.sugar]: '糖',
  [nutritionMaps.fiber_dietary]: '膳食纤维',
  [nutritionMaps.Na]: '钠',
  [nutritionMaps.vitamin_a]: '维生素A',
  [nutritionMaps.vitamin_d]: '维生素D',
  [nutritionMaps.vitamin_e]: '维生素E',
  [nutritionMaps.vitamin_k]: '维生素K',
  [nutritionMaps.thiamine]: '维生素B1',
  [nutritionMaps.lactoflavin]: '维生素B2',
  [nutritionMaps.vitamin_b6]: '维生素B6',
  [nutritionMaps.vitamin_b12]: '维生素B12',
  [nutritionMaps.vitamin_c]: '维生素C',
  [nutritionMaps.niacin]: '烟酸',
  [nutritionMaps.folacin]: '叶酸',
  [nutritionMaps.pantothenic]: '泛酸',
  [nutritionMaps.biotin]: '生物素',
  [nutritionMaps.choline]: '胆碱',
  [nutritionMaps.P]: '磷',
  [nutritionMaps.K]: '钾',
  [nutritionMaps.Mg]: '镁',
  [nutritionMaps.Ca]: '钙',
  [nutritionMaps.Fe]: '铁',
  [nutritionMaps.Zn]: '锌',
  [nutritionMaps.I]: '碘',
  [nutritionMaps.Se]: '硒',
  [nutritionMaps.Cu]: '铜',
  [nutritionMaps.F]: '氟',
  [nutritionMaps.Mn]: '锰',
  [nutritionMaps.carotene]: '胡萝卜素',
  [nutritionMaps.alcohol]: '酒精度',
};

export const nutrition_unit = {
  [nutritionMaps.energy]: '千焦',
  [nutritionMaps.protein]: '克',
  [nutritionMaps.fat]: '克',
  [nutritionMaps.saturated_fat]: '克',
  [nutritionMaps.fatty_acid]: '克',
  [nutritionMaps.mufa]: '克',
  [nutritionMaps.pufa]: '克',
  [nutritionMaps.cholesterol]: '毫克',
  [nutritionMaps.carbohydrate]: '克',
  [nutritionMaps.sugar]: '克',
  [nutritionMaps.fiber_dietary]: '克',
  [nutritionMaps.Na]: '毫克',
  [nutritionMaps.vitamin_a]: '微克',
  [nutritionMaps.vitamin_d]: '微克',
  [nutritionMaps.vitamin_e]: '毫克',
  [nutritionMaps.vitamin_k]: '微克',
  [nutritionMaps.thiamine]: '毫克',
  [nutritionMaps.lactoflavin]: '毫克',
  [nutritionMaps.vitamin_b6]: '毫克',
  [nutritionMaps.vitamin_b12]: '微克',
  [nutritionMaps.vitamin_c]: '毫克',
  [nutritionMaps.niacin]: '毫克',
  [nutritionMaps.folacin]: '微克',
  [nutritionMaps.pantothenic]: '毫克',
  [nutritionMaps.biotin]: '微克',
  [nutritionMaps.choline]: '毫克',
  [nutritionMaps.P]: '毫克',
  [nutritionMaps.K]: '毫克',
  [nutritionMaps.Mg]: '毫克',
  [nutritionMaps.Ca]: '毫克',
  [nutritionMaps.Fe]: '毫克',
  [nutritionMaps.Zn]: '毫克',
  [nutritionMaps.I]: '微克',
  [nutritionMaps.Se]: '微克',
  [nutritionMaps.Cu]: '毫克',
  [nutritionMaps.F]: '毫克',
  [nutritionMaps.Mn]: '毫克',
  [nutritionMaps.carotene]: '微克',
  [nutritionMaps.alcohol]: '%',
};

export const Bucket = {
  feedback: 'qnplus-feedback', //img七牛空间名
  recommend: 'qnplus-moment',
  avatar: 'qnplus-avatar',
  food: 'qnplus-food',
};

export const indicatorsMaps = {
  weight: 'weight',
  bmi: 'bmi',
  bodyfat: 'bodyfat',
  subfat: 'subfat',
  visfat: 'visfat',
  water: 'water',
  muscle: 'muscle',
  bone: 'bone',
  bmr: 'bmr',
  protein: 'protein',
  fat_free_weight: 'fat_free_weight',
  sinew: 'sinew',
  bodyage: 'bodyage',
  heart_rate: 'heart_rate',
  cardiac_index: 'cardiac_index',
};

export const indicatorsNameMaps = {
  [indicatorsMaps.weight]: '体重',
  [indicatorsMaps.bmi]: 'BMI',
  [indicatorsMaps.bodyfat]: '体脂率',
  [indicatorsMaps.subfat]: '皮下脂肪率',
  [indicatorsMaps.visfat]: '内脏脂肪等级',
  [indicatorsMaps.water]: '体水分',
  [indicatorsMaps.muscle]: '骨骼肌率',
  [indicatorsMaps.bone]: '骨量',
  [indicatorsMaps.bmr]: '基础代谢率',
  [indicatorsMaps.protein]: '蛋白质',
  [indicatorsMaps.fat_free_weight]: '去脂体重',
  [indicatorsMaps.sinew]: '肌肉量',
  [indicatorsMaps.bodyage]: '体年龄',
  [indicatorsMaps.heart_rate]: '心率',
  [indicatorsMaps.cardiac_index]: '心脏指数',
};

export const indicatorsUnitMaps = {
  [indicatorsMaps.weight]: 'kg',
  [indicatorsMaps.bmi]: '',
  [indicatorsMaps.bodyfat]: '%',
  [indicatorsMaps.subfat]: '%',
  [indicatorsMaps.visfat]: '',
  [indicatorsMaps.water]: '%',
  [indicatorsMaps.muscle]: '%',
  [indicatorsMaps.bone]: 'kg',
  [indicatorsMaps.bmr]: 'kcal',
  [indicatorsMaps.protein]: '%',
  [indicatorsMaps.fat_free_weight]: 'kg',
  [indicatorsMaps.sinew]: 'kg',
  [indicatorsMaps.bodyage]: '岁',
  [indicatorsMaps.heart_rate]: '次/分',
  [indicatorsMaps.cardiac_index]: 'L/Min/M²',
};
